package com.syy.spider.service.impl;

import com.syy.spider.dao.CommentMapper;
import com.syy.spider.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;
    @Override
    public int addComment(String comment, String username) {
        return commentMapper.addComment(comment, username);
    }
}
